Skip to content

ptx: accept unambiguous abbreviations of --format - #16958

Merged
sylvestre merged 1 commit into
uutils:mainfrom
binhvq:ptx-format-abbreviation
Nov 29, 2026
Merged

sylvestre merged 1 commit into
uutils:mainfrom
binhvq:ptx-format-abbreviation

Conversation

@binhvq

@binhvq binhvq commented Nov 29, 2026

Copy link
Copy Markdown
Contributor

ptx --format=r and --format=te were rejected because --format only matched the full words roff and tex, while GNU takes any unambiguous prefix. Use ShortcutValueParser for it, as other utils already do for their enumerated values.

Closes #16957

@codspeed

codspeed Bot commented Nov 29, 2026

Copy link
Copy Markdown
Contributor

Unable to generate the performance report

There was an internal error while processing the run's data. We're working on fixing the issue. Feel free to contact us at support@codspeed.io or on Discord if the issue persists.

@sylvestre
sylvestre merged commit 415b04f into uutils:main Nov 29, 2026
104 of 105 checks passed
@sylvestre

Copy link
Copy Markdown
Contributor

Thanks for your PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ptx: --format does not accept abbreviated values

2 participants